﻿#define DEBUG
//#undef DEBUG
#define TRACE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Preprocessor
{
#pragma warning disable 414, 3021
    class ProgramB
    {
        static void Main(string[] args)
        {
            //折叠预处理
            #region Hello Dunso
            #endregion

            //条件预处理
#if (DEBUG)
            Console.WriteLine("Debugging is enabled");
#elif(TRACE)
            Console.WriteLine("Tracing is enabled.");
#else
            Console.WriteLine("Debugging is not enabled");
#endif
            Console.ReadLine();

#line 10 "Special"

#if DEBUG
#warning DEBUG is defined
#endif

#line default

#if DEBUG
#error I am  error
#endif
        }
    }

#pragma warning restore 3021
    [CLSCompliant(false)]
    public class Dunso
    {
        int i = 1;
        public static void Method()
        {

        }
    }
}
